package com.sofwin.yyb.dao;

import com.sofwin.yyb.dto.MechanismDto;
import com.sofwin.yyb.entity.Mechanism;
import com.sofwin.yyb.entity.Course;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MechanismDao {
    void insert(Mechanism mechanism);

    Mechanism selectByUserId(Integer userid);

    List<Course> selectServiceList(Map<String, Object> map);

    List<MechanismDto> selectAllMechanism(Map<String, Object> map);

    Integer selectMechanismCount(String search);
}
